set more off
clear
cd "D:\Projects\HeterogeneousExternalities\"



use Data\GMaps.dta,clear
drop if distance==0
gen vscale=veh/100


	reghdfe speed vscale , cluster(OD) absorb(OD)
	outreg2 using "Output\SpeedTable.tex", replace keep(vscale lveh ) dec(3) addtext(OD FE, Yes, County FE, No, DOW FE, No)


	reghdfe lspeed lveh , cluster(OD) absorb(OD)
	outreg2 using "Output\SpeedTable.tex", append keep(vscale lveh  ) dec(3) addtext(OD FE, Yes, County FE, No, DOW FE, No)

	reghdfe lspeed lveh , cluster(OD) absorb(county_fips)
	outreg2 using "Output\SpeedTable.tex", append keep(vscale lveh  ) dec(3) addtext(OD FE, No, County FE, Yes, DOW FE, No)

	reghdfe lspeed lveh , cluster(OD) absorb(OD DOW)
	outreg2 using "Output\SpeedTable.tex", append keep(vscale lveh  ) dec(3) addtext(OD FE, Yes, County FE, No, DOW FE, Yes)

	reghdfe lduration_in_traffic lveh , cluster(OD) absorb(OD)
	outreg2 using "Output\SpeedTable.tex", append keep(vscale lveh  ) dec(3) addtext(OD FE, Yes, County FE, No, DOW FE, No)

	